package com.example.dingdong.enumerate;

/**
 * 
 * @ClassName: LiveRecordingEnum
 * @Description: 
 * @Author :chengwenixng
 * @Copyright: Smartlab411
 * @DateTime 2021-07-13 15:22:22
 */
public enum LiveRecordingEnum {

	/**
	 * 管理员
	 */
	Admin("管理员","Admin",0),
	/**
	 * 买家
	 */
	Purchaser("买方","Purchaser",1);
	
	
	private String nameCN;
	private String nameUS;
	private int index;

	private LiveRecordingEnum(String nameCN, String nameUS, int index) {
		this.nameCN = nameCN;
		this.nameUS = nameUS;
		this.index = index;
	}

	@Override
	public String toString() {
		return this.index + "_" + this.nameCN + "_" + this.nameUS;
	}

	public String getNameCN() {
		return nameCN;
	}

	public void setNameCN(String nameCN) {
		this.nameCN = nameCN;
	}

	public String getNameUS() {
		return nameUS;
	}

	public void setNameUS(String nameUS) {
		this.nameUS = nameUS;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
}
